package com.whcoding.designpatterns.pattern.factorypattern.factorymethod;

import com.whcoding.designpatterns.pattern.factorypattern.factorymethod.service.AudiCarImpl;
import com.whcoding.designpatterns.pattern.factorypattern.factorymethod.service.ICar;

/**
 * @program: spring-boot-learning
 * @description: 奥迪工厂 只生产奥迪
 * @author: whcoding
 * @create: 2022-09-19 16:45
 **/
public class AudiCarFactory implements CarFactory {
	@Override
	public ICar getCar() {
		return new AudiCarImpl();
	}
}
